package com.faf.dao;

import java.sql.SQLException;
import java.util.ArrayList;

import com.faf.bean.Comment;


public interface CommentDao extends BaseDao {
	public boolean newComment(int userId, String ordersNumber, String commentContext, double commentScore, int storeId) throws SQLException;
	public ArrayList<Comment> getCommentByStoreID(int storeId, int currentPage, int pageTotal) throws SQLException;
	public int getAllCommentRecordBystoreId(int storeId) throws SQLException;
	
	public Comment getCommentByOrderNumber(String orderNumber) throws SQLException;
}
